package com.main.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.main.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    /**
     * 更新用户密码
     *
     * @param user 用户
     * @return boolean
     */
    int updateUserPassword(User user);
}
